<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

   
     <!-- 文章显示 -->
     <div class="span8" style='margin-left:0px;' id="content" >
        <div class="panel" style="padding:20px">
           <h3 align="center">${directionWithBLOBs.directionName }</h3>
           <hr>
           ${directionWithBLOBs.directionIntro }
       </div>
    </div><!-- end of 文章显示 -->
    
    <!-- 相似文档 -->
     <div class="span4"  id="body-content">
	    <div class="panel"> 
	        
            <div style="border:2px;align:center;">
			<div class="tabbable">
				<!-- Only required for left/right tabs -->
				<ul class="nav nav-tabs">
					<li class="active"><a href="#tab1" data-toggle="tab">团队成员</a></li>
					<li><a href="#tab2" data-toggle="tab">成果</a></li>
					
				</ul>
				<div class="tab-content">
					<div class="tab-pane active" style='display: block;' id="tab1">
					<h3>领导人：</h3>
						<c:forEach items="${sciencefzTeacher }" var="i">
						  
						  <h3>
                    <a target="_parent" href="<%=basePath %>teacherdw/detail/${i.tId.id}">${i.tId.name }</a>
                        </h3>
                        
						</c:forEach>
						<h3>团队成员：</h3>
						<table class='table table-bordered'>
                       <c:forEach begin="1" end="${fn:length(scienceTeacher)}" step="4" varStatus="status">
                           <tr class="row-fluid">
                            <c:forEach items="${scienceTeacher }" var="steacher" begin="${(status.count-1)*4 }" end="${(status.count)*4-1 }">        
                               <td>
                                 <a href='<%=basePath %>teacherdw/detail/${steacher.tId.id}'> ${steacher.tId.name }</a>
                               </td>
                          </c:forEach>
                      </tr>
                   </c:forEach>
                    </table>
						
					</div>
					<div class="tab-pane" style='display: block;' id="tab2">
						
						  
						  <h3>
                         ${directionWithBLOBs.directionAchievement }
                        </h3>
                        
						
					</div>
					
					
				</div>
			</div>
		</div>
       </div>    
    </div><!-- end of 相似文档 -->
